package com.xiaobai.myblog.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class LoginDto implements Serializable {
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "用户密码不能为空")
    private String password;
    @NotBlank(message = "uuid不能为空")
    private String uuid;
    @NotBlank(message = "验证码不能为空")
    private String verificationCode;
}
